
/* A Bison parser, made by GNU Bison 2.4.1.  */

/* Skeleton interface for Bison's Yacc-like parsers in C
   
      Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
   Free Software Foundation, Inc.
   
   This program is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation, either version 3 of the License, or
   (at your option) any later version.
   
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
   
   You should have received a copy of the GNU General Public License
   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */

/* As a special exception, you may create a larger work that contains
   part or all of the Bison parser skeleton and distribute that work
   under terms of your choice, so long as that work isn't itself a
   parser generator using the skeleton or a modified version thereof
   as a parser skeleton.  Alternatively, if you modify or redistribute
   the parser skeleton itself, you may (at your option) remove this
   special exception, which will cause the skeleton and the resulting
   Bison output files to be licensed under the GNU General Public
   License without this special exception.
   
   This special exception was added by the Free Software Foundation in
   version 2.2 of Bison.  */


/* Tokens.  */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
   /* Put the tokens into the symbol table, so that GDB and other debuggers
      know about them.  */
   enum yytokentype {
     LABEL = 258,
     INTEGER = 259,
     BOOLEAN = 260,
     ARRAY = 261,
     REAL = 262,
     DECLARE = 263,
     TOKENBEGIN = 264,
     END = 265,
     OFF = 266,
     PROCEDURE = 267,
     IF = 268,
     THEN = 269,
     ELSE = 270,
     DO = 271,
     WHILE = 272,
     READ = 273,
     WRITE = 274,
     GOTO = 275,
     RETURN = 276,
     NOT = 277,
     TOKENFALSE = 278,
     TOKENTRUE = 279,
     OR = 280,
     AND = 281,
     MINUS = 282,
     EQUALS = 283,
     GREATER = 284,
     GREATERREQ = 285,
     DIFF = 286,
     SUM = 287,
     TIMES = 288,
     DIV = 289,
     MOD = 290,
     ATTRIB = 291,
     SIMPLEASPAS = 292,
     COLON = 293,
     DOUBLEDOTS = 294,
     SEMICOLON = 295,
     OPENPAR = 296,
     CLOSEPAR = 297,
     OPENSQUARE = 298,
     CLOSESQUARE = 299,
     LETTER = 300,
     IDENTIFIER = 301,
     DIGIT = 302,
     INTEGERINT = 303,
     CHARACTER = 304,
     PROGRAM = 305,
     CHAR = 306,
     GREATEREQ = 307,
     GRATER = 308,
     OF = 309
   };
#endif
/* Tokens.  */
#define LABEL 258
#define INTEGER 259
#define BOOLEAN 260
#define ARRAY 261
#define REAL 262
#define DECLARE 263
#define TOKENBEGIN 264
#define END 265
#define OFF 266
#define PROCEDURE 267
#define IF 268
#define THEN 269
#define ELSE 270
#define DO 271
#define WHILE 272
#define READ 273
#define WRITE 274
#define GOTO 275
#define RETURN 276
#define NOT 277
#define TOKENFALSE 278
#define TOKENTRUE 279
#define OR 280
#define AND 281
#define MINUS 282
#define EQUALS 283
#define GREATER 284
#define GREATERREQ 285
#define DIFF 286
#define SUM 287
#define TIMES 288
#define DIV 289
#define MOD 290
#define ATTRIB 291
#define SIMPLEASPAS 292
#define COLON 293
#define DOUBLEDOTS 294
#define SEMICOLON 295
#define OPENPAR 296
#define CLOSEPAR 297
#define OPENSQUARE 298
#define CLOSESQUARE 299
#define LETTER 300
#define IDENTIFIER 301
#define DIGIT 302
#define INTEGERINT 303
#define CHARACTER 304
#define PROGRAM 305
#define CHAR 306
#define GREATEREQ 307
#define GRATER 308
#define OF 309




#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
{

/* Line 1676 of yacc.c  */
#line 22 "tp4.y"

	char *palavra;
	double num;



/* Line 1676 of yacc.c  */
#line 167 "y.tab.h"
} YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
#endif

extern YYSTYPE yylval;


